package com.rem.mp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/**
 * @author Rem
 * @date 2021/3/14
*/
@SpringBootApplication
public class MpApplication {

    public static void main(String[] args) {
        SpringApplication.run(MpApplication.class, args);
    }


    /**
     * 配置乐观锁
     *
     * @return
     */
   /* @Bean
    public OptimisticLockerInterceptor optimisticLockerInterceptor() {
        return new OptimisticLockerInterceptor();
    }*/

    /**
     * 自定义SQL注入器
     *
     * @return
     */
    /*@Bean
    public MyInjector mySqlInjector() {
        return new MyInjector();
    }*/

}
